# coding: utf-8
from rest_framework.authentication import TokenAuthentication
from user.models import WXAppToken


class WXAppTokenAuthentication(TokenAuthentication):

    def __init__(self):
        super(WXAppTokenAuthentication, self).__init__()
        self.model = WXAppToken